home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / grap_cad / elf / install.bat < prev    next >
DOS Batch File  |  1993-02-21  |  2KB  |  48 lines

  1. @Echo Off
  2.   Cls
  3.   Echo *====================[ ELF Install Program ]==========================*
  4.   Echo . 
  5.   If [%1] == [] GoTo :usage
  6.   If [%2] == [] GoTo :usage
  7.   If Not Exist %1\unzip.exe GoTo baddrive
  8.   If Not Exist %2\nul GoTo baddir
  9.   Echo This program will extract files from the ELF archive. All ELF files will be
  10.   Echo extracted from ELF.ZIP on %1 to %2 on your hard drive.
  11.   Echo .
  12.   Echo Press any key to continue or CTRL-C to quit now.
  13.   Echo .
  14.   Pause > nul
  15. :OK
  16.   Echo .
  17.   Echo Extracting ELF files...
  18.   %1\unzip /P %2 /- %1\*.zip
  19.   Echo .
  20.   Echo Done
  21.   Echo .
  22.   Echo Make sure that the directory %2 in on your AutoCAD library path by
  23.   Echo editing the SET ACAD= statement in your ACAD386.BAT file 
  24.   Echo (eg SET ACAD=C:\ACAD\SUPPORT;%2).
  25.   Echo %2 MUST be included in that list of directories for ELF to
  26.   Echo operate properly.
  27.   Echo .
  28.   Echo Enter (load"DEMO") once in AutoCAD to run the ELF demonstration.
  29.   Echo .
  30.   Echo If you have registered ELF, then enter PASSWORD from the AutoCAD Command:
  31.   Echo prompt to add your password and remove the delay screen.
  32.   Echo .
  33.   GoTo End
  34. :BADDIR
  35.   Echo Error: %2 is not a valid directory.
  36.   GoTo usage
  37. :BADDRIVE
  38.   Echo Error: the file UNZIP.EXE can Not be found on drive %1
  39. :USAGE
  40.   Echo .
  41.   Echo In order for Install to work properly you must provide both the
  42.   Echo floppy drive and your ELF directory:
  43.   Echo If you wish to create a new directory enter MD %2 then rerun install
  44.   Echo .
  45.   Echo Usage: INSTALL A: C:\ELF
  46. :END
  47.  
  48.